
package com.wwy.monitor.model.enumeration;

/**
 * @author gezhen
 * @version V1.0
 * <p>Description:定时任务调用频次枚举 </p>
 */
public enum TaskTimesEnum {

    TASK_1_M(1, "1分钟"),
    TASK_3_M(3, "1分钟"),
    TASK_5_M(5, "1分钟"),
    TASK_10_M(10, "1分钟"),
    ;

    /**
     * 状态码
     */
    private int value;
    /**
     * 状态描述
     */
    private String desc;

    TaskTimesEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}